import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementPlus from "element-plus";
import * as echarts from "echarts";
import 'echarts/theme/macarons.js'
import "./js/china";
import qs from "qs";
import axios from "axios";
import VueAxios from "vue-axios";
import locale from "element-plus/lib/locale/lang/zh-cn";
import "element-plus/lib/theme-chalk/index.css"; //样式文件需要单独引入！
import "lib-flexible-computer";
const app = createApp(App);
app.config.globalProperties.$echarts = echarts;

axios.defaults.baseURL = "http://139.129.221.100:8382/";

app.use(ElementPlus, { locale });
app.use(qs);
app.use(VueAxios, axios);
app.use(store);
app.use(router);
app.mount("#app");
